[INFO] cloning repository https://github.com/TheSandwichCoder/GravSim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheSandwichCoder/GravSim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSandwichCoder%2FGravSim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSandwichCoder%2FGravSim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 92cce744a414f0b0cae16a988b7058c0226eb7e6
[INFO] checking TheSandwichCoder/GravSim against master#c290daa1e5274a52e54a0f49e31bd70192abc606 for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSandwichCoder%2FGravSim" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/TheSandwichCoder/GravSim
[INFO] finished tweaking git repo https://github.com/TheSandwichCoder/GravSim
[INFO] tweaked toml for git repo https://github.com/TheSandwichCoder/GravSim written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/TheSandwichCoder/GravSim on toolchain c290daa1e5274a52e54a0f49e31bd70192abc606
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/TheSandwichCoder/GravSim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.3.4
[INFO] [stderr]   Downloaded rand_distr v0.5.1
[INFO] [stderr]   Downloaded rand_core v0.9.5
[INFO] [stderr]   Downloaded cfg-if v1.0.4
[INFO] [stderr]   Downloaded r-efi v5.3.0
[INFO] [stderr]   Downloaded rand_chacha v0.9.0
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.21
[INFO] [stderr]   Downloaded autocfg v1.5.0
[INFO] [stderr]   Downloaded quote v1.0.43
[INFO] [stderr]   Downloaded unicode-ident v1.0.22
[INFO] [stderr]   Downloaded num-traits v0.2.19
[INFO] [stderr]   Downloaded proc-macro2 v1.0.105
[INFO] [stderr]   Downloaded wit-bindgen v0.51.0
[INFO] [stderr]   Downloaded rand v0.9.2
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.33
[INFO] [stderr]   Downloaded wasip2 v1.0.2+wasi-0.2.9
[INFO] [stderr]   Downloaded libm v0.2.16
[INFO] [stderr]   Downloaded zerocopy v0.8.33
[INFO] [stderr]   Downloaded syn v2.0.114
[INFO] [stderr]   Downloaded libc v0.2.180
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1beab8cda15f7fc9be2c9695542d1e611d62bdf0a46b0b82f3c4196d236b31c0
[INFO] running `Command { std: "docker" "start" "1beab8cda15f7fc9be2c9695542d1e611d62bdf0a46b0b82f3c4196d236b31c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1beab8cda15f7fc9be2c9695542d1e611d62bdf0a46b0b82f3c4196d236b31c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1beab8cda15f7fc9be2c9695542d1e611d62bdf0a46b0b82f3c4196d236b31c0" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1beab8cda15f7fc9be2c9695542d1e611d62bdf0a46b0b82f3c4196d236b31c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1beab8cda15f7fc9be2c9695542d1e611d62bdf0a46b0b82f3c4196d236b31c0" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking GravSim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/particle.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut vel = (self.pos - self.prev_pos);
[INFO] [stdout]    |                       ^                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -         let mut vel = (self.pos - self.prev_pos);
[INFO] [stdout] 46 +         let mut vel = self.pos - self.prev_pos;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]  --> src/particle_container.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::thread::spawn;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::random`
[INFO] [stdout]  --> src/particle_container.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::random;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::functions::*`
[INFO] [stdout]  --> src/particle_container.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::functions::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time`
[INFO] [stdout]  --> src/progress_bar.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::time;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/qtree.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::particle::{self, Particle};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::functions::show_progress`
[INFO] [stdout]  --> src/simulation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::functions::show_progress;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::*`
[INFO] [stdout]  --> src/simulation.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vector::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]  --> src/simulation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Sink`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Sink;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::functions::*`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::functions::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::particle::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::particle::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::particle_container::*`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::particle_container::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::progress_bar::*`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::progress_bar::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qtree::*`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::qtree::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::vector::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/particle.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut vel = (self.pos - self.prev_pos);
[INFO] [stdout]    |                       ^                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -         let mut vel = (self.pos - self.prev_pos);
[INFO] [stdout] 46 +         let mut vel = self.pos - self.prev_pos;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]  --> src/particle_container.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::thread::spawn;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::random`
[INFO] [stdout]  --> src/particle_container.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::random;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::functions::*`
[INFO] [stdout]  --> src/particle_container.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::functions::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time`
[INFO] [stdout]  --> src/progress_bar.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::time;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/qtree.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::particle::{self, Particle};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::functions::show_progress`
[INFO] [stdout]  --> src/simulation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::functions::show_progress;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::*`
[INFO] [stdout]  --> src/simulation.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vector::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]  --> src/simulation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Sink`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Sink;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::functions::*`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::functions::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::particle::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::particle::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::particle_container::*`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::particle_container::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::progress_bar::*`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::progress_bar::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qtree::*`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::qtree::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::vector::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `random_pos` is never read
[INFO] [stdout]   --> src/particle_container.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let mut random_pos = Vec2::zero();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 48 |                 random_pos = Vec2::rand_uniform() * spawn_radius;
[INFO] [stdout]    |                 ------------------------------------------------ `random_pos` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]    --> src/particle_container.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         dt: f32,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `delta_n_collisions` is never read
[INFO] [stdout]    --> src/particle_container.rs:163:38
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let mut delta_n_collisions = 0;
[INFO] [stdout]     |                                      ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 201 |             delta_n_collisions = collision_particles_i.len() - new_collision_particles.len();
[INFO] [stdout]     |             -------------------------------------------------------------------------------- `delta_n_collisions` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]    --> src/particle_container.rs:210:53
[INFO] [stdout]     |
[INFO] [stdout] 210 |     pub fn particle_collisions_quadratic(&mut self, dt: f32) {
[INFO] [stdout]     |                                                     ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]    --> src/particle_container.rs:220:44
[INFO] [stdout]     |
[INFO] [stdout] 220 |     pub fn container_collisions(&mut self, dt: f32) {
[INFO] [stdout]     |                                            ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `random_pos` is never read
[INFO] [stdout]   --> src/particle_container.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let mut random_pos = Vec2::zero();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 48 |                 random_pos = Vec2::rand_uniform() * spawn_radius;
[INFO] [stdout]    |                 ------------------------------------------------ `random_pos` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]    --> src/particle_container.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         dt: f32,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `delta_n_collisions` is never read
[INFO] [stdout]    --> src/particle_container.rs:163:38
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let mut delta_n_collisions = 0;
[INFO] [stdout]     |                                      ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 201 |             delta_n_collisions = collision_particles_i.len() - new_collision_particles.len();
[INFO] [stdout]     |             -------------------------------------------------------------------------------- `delta_n_collisions` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]    --> src/particle_container.rs:210:53
[INFO] [stdout]     |
[INFO] [stdout] 210 |     pub fn particle_collisions_quadratic(&mut self, dt: f32) {
[INFO] [stdout]     |                                                     ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]    --> src/particle_container.rs:220:44
[INFO] [stdout]     |
[INFO] [stdout] 220 |     pub fn container_collisions(&mut self, dt: f32) {
[INFO] [stdout]     |                                            ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sim_step_i`
[INFO] [stdout]    --> src/simulation.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |         for sim_step_i in 0..self.sim_info.n_steps {
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sim_step_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DAMPING` is never used
[INFO] [stdout]  --> src/constants.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const DAMPING: f32 = 0.999;
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GLOBAL_GRAVITY_CONST` is never used
[INFO] [stdout]  --> src/constants.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const GLOBAL_GRAVITY_CONST: f32 = -1.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_progress` is never used
[INFO] [stdout]  --> src/functions.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn show_progress(done: usize, sub_batch_i: usize, total: usize) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp_u32` is never used
[INFO] [stdout]   --> src/functions.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn clamp_u32(v: i64, lo: i64, hi: i64) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_density` is never used
[INFO] [stdout]   --> src/particle.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Particle {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn set_density(&mut self, density: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_particle`, `interparticle_gravity_quadratic`, `particle_collisions_quadratic`, `apply_gravity`, `index`, and `show_particles` are never used
[INFO] [stdout]    --> src/particle_container.rs:72:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl Container {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn add_particle(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn interparticle_gravity_quadratic(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     pub fn particle_collisions_quadratic(&mut self, dt: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn apply_gravity(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     pub fn index(&mut self, i: usize) -> &mut Particle {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn show_particles(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `in_bounds` is never used
[INFO] [stdout]   --> src/qtree.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Bound {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn in_bounds(&self, pos: Vec2) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dfs_stack` is never read
[INFO] [stdout]   --> src/qtree.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct QuadTree {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 86 |     stack: Vec<QNode>,
[INFO] [stdout] 87 |     dfs_stack: Vec<usize>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_dt` and `set_update_cache_ratio` are never used
[INFO] [stdout]   --> src/simulation.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl SimulationSpecs {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn set_dt(&mut self, dt: f32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn set_update_cache_ratio(&mut self, ratio: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dot` is never used
[INFO] [stdout]   --> src/vector.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Vec2 {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn dot(&self, other: Vec2) -> f32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `morton2D` should have a snake case name
[INFO] [stdout]   --> src/functions.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn morton2D(ix: u32, iy: u32) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `morton2_d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sim_step_i`
[INFO] [stdout]    --> src/simulation.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |         for sim_step_i in 0..self.sim_info.n_steps {
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sim_step_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DAMPING` is never used
[INFO] [stdout]  --> src/constants.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const DAMPING: f32 = 0.999;
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GLOBAL_GRAVITY_CONST` is never used
[INFO] [stdout]  --> src/constants.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const GLOBAL_GRAVITY_CONST: f32 = -1.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_progress` is never used
[INFO] [stdout]  --> src/functions.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn show_progress(done: usize, sub_batch_i: usize, total: usize) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp_u32` is never used
[INFO] [stdout]   --> src/functions.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn clamp_u32(v: i64, lo: i64, hi: i64) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_density` is never used
[INFO] [stdout]   --> src/particle.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Particle {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn set_density(&mut self, density: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_particle`, `interparticle_gravity_quadratic`, `particle_collisions_quadratic`, `apply_gravity`, `index`, and `show_particles` are never used
[INFO] [stdout]    --> src/particle_container.rs:72:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl Container {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn add_particle(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn interparticle_gravity_quadratic(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     pub fn particle_collisions_quadratic(&mut self, dt: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn apply_gravity(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     pub fn index(&mut self, i: usize) -> &mut Particle {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn show_particles(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `in_bounds` is never used
[INFO] [stdout]   --> src/qtree.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Bound {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn in_bounds(&self, pos: Vec2) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dfs_stack` is never read
[INFO] [stdout]   --> src/qtree.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct QuadTree {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 86 |     stack: Vec<QNode>,
[INFO] [stdout] 87 |     dfs_stack: Vec<usize>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_dt` and `set_update_cache_ratio` are never used
[INFO] [stdout]   --> src/simulation.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl SimulationSpecs {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn set_dt(&mut self, dt: f32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn set_update_cache_ratio(&mut self, ratio: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dot` is never used
[INFO] [stdout]   --> src/vector.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Vec2 {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn dot(&self, other: Vec2) -> f32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `morton2D` should have a snake case name
[INFO] [stdout]   --> src/functions.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn morton2D(ix: u32, iy: u32) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `morton2_d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.06s
[INFO] running `Command { std: "docker" "inspect" "1beab8cda15f7fc9be2c9695542d1e611d62bdf0a46b0b82f3c4196d236b31c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1beab8cda15f7fc9be2c9695542d1e611d62bdf0a46b0b82f3c4196d236b31c0", kill_on_drop: false }`
[INFO] [stdout] 1beab8cda15f7fc9be2c9695542d1e611d62bdf0a46b0b82f3c4196d236b31c0
